﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/BusPlannerMaster.master" AutoEventWireup="true" CodeFile="Lines.aspx.cs" Inherits="Pages_Lines" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script src="../Scripts/BusInfo.js" type="text/javascript"></script>

     <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
            <div class="maincontainerlines">
                <img src="../images/gradskilinii.jpg" />
            </div>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <div class="maincontainer">
                        <div class="container">
                            <p>
                                Достапни градски линии</p>
                            <div class="item">
                                <asp:Repeater ID="ctlLines" runat="server" onitemcommand="ctlLines_ItemCommand">
                                    <ItemTemplate>
                                        <asp:Button runat="server" CssClass="line_number" Text='<%# Eval("BusNo") %>' CommandArgument='<%# Eval("BusNo") %>'/>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                        <div class="infocontainer">
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblBusNumber" runat="server" Text="Број на линија:"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="txtBusNumber" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblRoundTime" runat="server" Text="Времетрање на кругот:"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="txtRoundTime" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblStartStation" runat="server" Text="Почетна станица:"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="txtStartStation" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblEndStation" runat="server" Text="Крајна станица:"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="txtEndStation" runat="server"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                            <p>
                            </p>
                        </div>
                        <div id="map_container">
                            <div id="map">
                            </div>
                             <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1" class="update_area">
                             <ProgressTemplate>
                                <div id="load_img">
                                    <img src="../images/ajax-loader.gif" alt="Loading..." />
                                </div>
                            </ProgressTemplate>
                         </asp:UpdateProgress>
                        </div>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div id="main">
                <div id="content" class="left">
                    <div class="highlight">
                    </div>
                    <div class="projects">
                    </div>
                    <div id="sidebar" class="right">
                    </div>
                </div>
            </div>
</asp:Content>